<?php
$id = (int)$query_string[2];

//$sql->mysql_select("users", "*","user_id = ".$id);

//$form_value = $sql->get_line();
$form_value['action'] = "edit";
$form_value['module'] = "gold.list";
$form_value['id'] = $id;

$module_db = array(
	"table_name" => "users",
	"type" => "upload",
	"id" => "user_id",
	"action" => "modules/gold/action_gold.php",
	"data" =>
	array(
		array(
			"name" => "goldstatus",
			"type" => "select",
			"title" => "Gold státusz megadása",
			"ittems" => array(
							1 => "1 hónap",
							3 => "3 hónap",
							12 => "12 hónap"
						)
		),
		array(
			"name" => "bannercredit",
			"type" => "text",
			"title" => "Banner credit megadása"
		),
		array(
			"name" => "surfcredit",
			"type" => "text",
			"title" => "Surf credit megadása"
		)
	)
);


$page_title = "Felhasználó szerkesztése";
$page_text = $theme->show_form($module_db);
?>